package com.simple.editor.vcs;

import com.simple.editor.callback.Callback;

import java.util.Collection;
import java.util.concurrent.Future;

/**
 * Created with IntelliJ IDEA.
 * User: vsoroka
 * Date: 05.06.13
 * Time: 13:01
 * To change this template use File | Settings | File Templates.
 */
public interface VcsClient {

    Future<Void> refreshStatus(Callback callback, Collection<VcsFile> files);

    Future<Void> delete(Callback callback, Collection<VcsFile> files);

    Future<Void> revert(Callback callback, Collection<VcsFile> files);

    Future<Void> commit(Callback callback, Collection<VcsFile> files);

    Future<Void> update(Callback callback, Collection<VcsFile> files);
}
